<?php
// require "./conf/website.conf.php";
// require "./lib/Database.class.php";
// fn1(1000);

// function fn1($num) {
// 	$tm = microtime(true) * 1000;

// 	$code = rand(0, 9);
// 	$configura['verificationdigit'] = $num;
// 	$max = ($configura['verificationdigit'] ?? 1) - 1;
// 	for ($num = 0; $num < $max; $num++) {
// 		$code .= rand(0, 9);
// 	}

// 	echo $code, '耗时：', (microtime(true) * 1000 - $tm), '毫秒';

// $db = new Database($website);

// $data = $db->table('product_image')
// 	->field('pid', 'image')
// 	->value('9999', '1111111')
// 	->where('id=?', 21)
// 	->update();
// print_r($data);
// echo '<br/>';

// print_r($db->sql);

// "Mozilla/5.0 (Linux; Android 6.0; Redmi Note 4X Build/MRA58K; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/76.0.3809.89 Mobile Safari/537.36 T7/11.22 light/1.0 SP-engine/2.18.0 baiduboxapp/11.22.5.10 (Baidu; P1 6.0);"

// echo "<pre>";
// print_r($_SERVER['HTTP_USER_AGENT']);
// echo "</pre>";
echo 111;
$str = "-1";
echo (int) $str;
